import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import GlobalData from '_utils/GlobalData'
import * as Methods from '_utils/Methods'
import * as Request from '_utils/Request'
import { Api, Config } from '_utils/Api'
import Storage from 'store'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import '_iconfont/iconfont.scss'
import '_style/theme/green.scss'

Vue.config.productionTip = false;
Vue.use(ElementUI)
Vue.prototype.$globalData = GlobalData
Vue.prototype.$methods = Methods
Vue.prototype.$request = Request
Vue.prototype.$config = Config
Vue.prototype.$api = Api
Vue.prototype.$storage = Storage

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
